package com.ruoyi.system.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;


/**
 * 订单对象 bdm_order
 *
 * @author ruoyi
 * @date 2024-12-13
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BdmOrderDto implements Serializable {


    /**
     * 下单开始时间
     */
    private String orderStartTime;

    /**
     * 下单结束时间
     */
    private String orderEndTime;

    /**
     * 订单id
     */
    @NotBlank(message = "订单号必填")
    private String orderId;

    /**
     * 订单项id
     */
    private Long orderItemId;

    /**
     * 分类id
     */
    private String supplierGoodId;

    /**
     * 收获地址
     */
    private String receiveAddress;

    /**
     * 订单状态
     */
    private Integer orderStatus;

    private Integer orderType;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 商品名称
     */
    private String goodName;

    /**
     * 服务类型 0仅退款 1退货退款
     */

    private Long  serviceType;

    /**
     *  申请原因  详情见字典 传数字类型
     */
    private Long explains;

    /**
     * 退单理由 用户手输字符
     */
    private String chargebackReason;

    /**
     * 订单号集合
     */
    private List<String> orderIds;
    private String phonenumber;
    private String nickName;
    private String goodNames;

    private List<String>ids;
}
